<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{padding: 0;margin: 0;}
        .header{
            width: 1000px;
            height: 100px;
            margin: 0 auto;/*块级元素居中*/
            border-top: 5px solid #00f;
            border-bottom: 1px solid #f00;
        }
        /* .header img{

        } */
        .logo{
            margin-top: 15px;
        }
        .header-right{
            display: none;
            width: 180px;
            margin-top: 20px;
            float: right;
            text-align: right;
        }
        .header-right span{
            color: #f00;
        }
        .header:hover .header-right{
            display: block;
        }
    </style>
</head>
<body>
    <div class="header">
        <img class="logo" src="https://www.hebtu.edu.cn/template/0de2d533795b48688b0776bfade53f5a/20140828143712866/images/logo.png" alt="">
        <div class="header-right">
            <span>English Version</span>
            <input type="text">
        </div>
    </div>

    <!-- 以下都是行内元素 -->
    <!-- <span>123</span>
    <i>123</i>  
    <em>456</em>
    <b>789</b>
    <strong>789</strong> -->
</body>
</html>

